package mybatis05.teacher.entity;

/**
 * 
 CREATE TABLE `szrt_teacher` (
  `tid` int(11) NOT NULL DEFAULT '0' COMMENT '老师id',
  `tname` varchar(64) DEFAULT NULL COMMENT '老师名称',
  `tage` int(11) DEFAULT NULL COMMENT '老师年龄',
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 *
 */
public class TeacherEntity {
	
	private Integer tid;
	private String  tname;
	private Integer tage;
	
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public Integer getTage() {
		return tage;
	}
	public void setTage(Integer tage) {
		this.tage = tage;
	}
	@Override
	public String toString() {
		return "TeacherEntity [tid=" + tid + ", tname=" + tname + ", tage=" + tage + "]";
	}
	
	

}

